package com.CMS.client;

import java.util.List;

import com.CMS.server.domain.Galery;
import com.CMS.server.domain.Images;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface MultimediaServiceAsync {
	

    void setGallery(long idPage,String nameGalery,AsyncCallback<Void> callback);
    
    void isSetImageGallery(AsyncCallback<Boolean> callback);
    
    void fetch(AsyncCallback<List<Galery>> callback);
    
    void fetchImage(long idGalery, AsyncCallback<List<Images>> callback);
    
    void validateGalery(String name,AsyncCallback<String> callback);
    
    void validatePageGalery(long idPage,AsyncCallback<String> callback);
    
    void getGaleryName(long id,AsyncCallback<String> callback);
    
    void updateImageGallery(long id,AsyncCallback<Void> callback);
    
    void updateStateImage(int state,long id,AsyncCallback<Void> callback);
    
    void updateNameGallery(String name,long id,AsyncCallback<Void> callback);
  
}
